package com.finer.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author wangenhao
 * @className PageUtil
 * @description 分页结果类
 * @date 2024-10-22 下午9:41
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageUtil<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer pageNum;

    private Integer pageSize;

    private Long total;

    private Integer pages;

    private List<T> data;
}
